home *** CD-ROM | disk | FTP | other *** search
- -- card: 28791 from stack: in
- -- bmap block id: 146400
- -- flags: 0000
- -- background id: 4507
- -- name:
-
-
- -- part 5 (button)
- -- low flags: 00
- -- high flags: 8003
- -- rect: left=328 top=126 right=148 bottom=456
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: About card fields
- ----- HyperTalk script -----
- on mouseUp
- show card field note
- show button OK
- end mouseUp
-
-
-
- -- part 6 (field)
- -- low flags: 81
- -- high flags: 2004
- -- rect: left=229 top=98 right=235 bottom=462
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 2
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: note
-
-
- -- part 7 (button)
- -- low flags: 80
- -- high flags: 8003
- -- rect: left=407 top=204 right=226 bottom=438
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: OK
- ----- HyperTalk script -----
- on mouseUp
- hide button OK
- hide card field 1
- end mouseUp
-
-
-
- -- part contents for background part 1
- ----- text -----
- Objects in HyperCard have names so that commands can operate on them and you can send them messages:
-
- Add 1 to field "score"
- ("Score" is the name of a field)
-
- Send mouseDown to button "Start the Game"
- ("Start the Game" is the name of the button.)
-
- Put "Welcome back" into Message box
-
- Go to card id 14963
- ("id 14963" identifies a card in the current stack)
-
- -- part contents for background part 43
- ----- text -----
- 267,189
-
- -- part contents for card part 6
- ----- text -----
- "Field 1" refers to a background field. Include "card" when referring to card fields. "Button 1" refers to a card button. Include
- "background" or "bkgnd" when referring to background buttons.
-
- -- part contents for background part 44
- ----- text -----
- Names
-
- -- part contents for background part 2
- ----- text -----
- Introduction to HyperTalk (cont.)